<include file="../Public/header" />
<div id="wrap"> <include file="../Public/top" />
    <div id="content">
        <div class="mainarea">
            <div class="maininner">
                 <div class="bdrcontent">
                 对于单页面系统，首页只能显示一篇文章，所以添加多篇文章不会显示的。
                 </div><br />

                <div class="bdrcontent">
                    <table width="100%" cellpadding="0" cellspacing="0" class="formtable">
                        <tr>
                            <th width="80">编号</th>
                            <th>标题</th>
                            <th>内容</th>
                            <th width="200">创建日期</th>
                            <th width="80">操作(<a href="__URL__/add/nid/{.nid}">添加</a>)</th>
                      </tr>
                        <volist name="list" id="vo">
                            <tr>
                                <td>{$vo.id}</td>
                                <td>{$vo.title|t|msubstr=0,15}</td>
                                <td>{$vo.content|t|msubstr=0,20}</td>
                                <td>{$vo.cTime|toDate}</td>
                                <td><a href="__URL__/edit/id/{$vo.id}">编</a>,<a href="__URL__/delete/id/{$vo.id}/nid/{.nid}" onclick="return confirm('真的要删除么?不可恢复哦!');">删</a></td>
                            </tr>
                        </volist>
                    </table>
                    <div class="page">{$page} </div>
                </div>
                <br />
            </div>
        </div>
    <include file="../Public/menu" /> </div>
<include file="../Public/footer" /> </div>
</body></html>